﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Chinaer.IDao
{
    /// <summary>
    /// 商家公告IDAO
    /// </summary>
    public interface IShangJiaGongGaoDAO:IBaseDAO<Model.Entities.Model_ShangJiaGongGao>
    {
        /// <summary>
        /// 根据商家编号获取商家公告信息
        /// </summary>
        /// <param name="shangJiaID"></param>
        /// <returns></returns>
        List<Model.Entities.Model_ShangJiaGongGao> GetShangJiaGongGaoByShangJiaID(string shangJiaID);
        /// <summary>
        /// 根据日期范围获取商家公告信息
        /// </summary>
        /// <param name="beginTime"></param>
        /// <param name="endTime"></param>
        /// <returns></returns>
        List<Model.Entities.Model_ShangJiaGongGao> GetShangJiaGongGaoByTimeSpanAndShangJiaID(string shangJiaID,DateTime beginTime,DateTime endTime);
    
    }
}
